export default {
	namespaced: true,
	state: () => ({
		userInfo: {},
		memberNum:'',
		userAddress:{}
	}),
	mutations: {
		saveUserInfo(state, userInfo) {
			state.userInfo = userInfo;
		},
		saveMemberNum(state, memberNum) {
			state.memberNum = memberNum;
		},
		saveUserAddress(state, userAddress) {
			state.userAddress = userAddress;
		},
	},
	getters: {
	    getUserInfo: state => state.userInfo,
	    getMemberNum: state => state.memberNum	
	}
}